<div style="clear:both"></div>
<div style="clear:both; min-height: 40px"></div>
<div id="content">
   	    <div id="leftcontent">
            <?php foreach ($product as $pr) 
                { 
                
                ?>
                <div id="con_img">
                     <ul> 
                        <li class="img_big"><img src="<?php echo $pr['pro_img_src']; ?>" style="height: 230px; width: 310px; float: left;"></li>
                        
                            <?php foreach ($imgs as $im) { ?>
                             <li class="img_small"><img src="<?php echo $im['pro_img_src'];?>" style="height: 60px; width: 60px; margin-top: 20px;margin-left: 20px; float: left;"></li>
                          <?php }?>

                    </ul>
                    
                </div>
                <div style="clear:both"></div>
                <div id="info_pro">
                    <div id="left_info">
                        <h2><span class="de">Name product: </span> <?php echo $pr['pro_name'];?></h2>
                    <p><del>Price: $<?php echo $pr['pro_price'];?> </del> </p>
                    <p style="font-size: 15px; color: green;">Sale: $<?php echo $pr['pro_pri_sale'];?> </p>
                    <p><span class="de">Information: </span><?php echo $pr['pro_info'];?> </p>
                    <p><span class="de">Brand: </span><?php echo $pr['bra_name'];?> </p>
                    <p><span class="de">Country: </span><?php echo $pr['pro_country'];?> </p>
                    <a href="<?php echo $baseURL;?>index.php/default/shopping_cart/buy/<?php echo $pr['pro_id'];?>">BUY NOW</a>
                    
                    </div>
                    <div id="review">
                        Custom review
                        <div>star</div>
                        <div>comment</div>
                    </div>

                    </div>
                
            
             <?php   } 